﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ChooseOrg.aspx.cs" Inherits="HealthSystem.ChooseOrg" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <ext:PageManager ID="PageManager1" runat="server" AutoSizePanelID="panle1" />
     <ext:Panel  runat="server" ID="panle1" Layout="Fit" ShowHeader="false">
     <Toolbars>
        <ext:Toolbar ID="Toolbar1" runat="server">
            <Items>
                <ext:Label runat="server" Text="区域选择"></ext:Label>
                <ext:TriggerBox runat="server" ID="name" EnableEdit="false"></ext:TriggerBox>
              <%--  <ext:TriggerBox runat="server" EnablePostBack="false" ID="searchbox" OnTriggerClick="SearchClick" TriggerIcon="Search"  Text="搜索"></ext:TriggerBox>--%>
                <ext:HiddenField runat="server" ID="districtid"></ext:HiddenField>
                <ext:HiddenField runat="server" ID="actionbt"></ext:HiddenField>
                <ext:TriggerBox runat="server" ID="searchbox" EmptyText="输入机构名称查询" TriggerIcon="Search" OnTriggerClick="Search_Clik"></ext:TriggerBox>
            </Items>
        </ext:Toolbar>
    </Toolbars>
        <Items>
             <ext:Grid runat="server" ID="Gird1" DataKeyNames="XX_UserName,OrgCode,OrgName" AllowPaging="true" IsDatabasePaging="true" EnableRowNumber="true"
             OnRowDoubleClick="Grid1_DoubleClick" EnableRowDoubleClick="true" ShowHeader="false" OnRowCommand="ff" OnPageIndexChange="PageIndexChange" AutoPostBack="true">
             <Toolbars>
                <ext:Toolbar ID="Toolbar2" runat="server">
                    <Items>
                        <ext:ToolbarFill ID="ToolbarFill1" runat="server"></ext:ToolbarFill>
                        <%--<ext:Button runat="server" Text="确定" Icon="Accept" ID="queding" OnClick="queding_Click" EnablePostBack="false"></ext:Button>--%>
                    </Items>
                </ext:Toolbar>
             </Toolbars>
                <Columns>
                    <ext:BoundField DataField="OrgCode" HeaderText="机构编码" />
                    <ext:BoundField DataField="OrgName" HeaderText="机构名称" Width="160px" />
                    <ext:BoundField DataField="Address" HeaderText="地址" />
                    <ext:BoundField DataField="LinkMan" HeaderText="联系人" />
<%--                    <ext:BoundField DataField="OfficePhone" HeaderText="联系电话" />--%>
<%--                    <ext:BoundField DataField="cityname" HeaderText="所在城市" />--%>
                    <ext:BoundField DataField="name" HeaderText="所在区县" />
<%--                     <ext:LinkButtonField HeaderText="删除" TextAlign="Center" Icon="Delete"
                ColumnID="lbfAction1" Width="40px" CommandName="delete" Text="" />--%>
                </Columns>
            </ext:Grid>
            
        </Items>
    </ext:Panel>
     <ext:Window ID="Window1" Title="编辑" Popup="false" EnableIFrame="true" runat="server"
        EnableMaximize="true" EnableResize="true" Target="Parent" OnClose="Window1_Close"
        IsModal="True" Width="200px" Height="480px">
    </ext:Window>
    </form>
</body>
</html>
